package com.xls.future.entity;

import cn.bmob.v3.BmobObject;

/**
 * Created by Administrator on 2017/8/25.
 */

public class Photo extends BmobObject {

    private String name;
    private int orientation; //图片方向:   1:纵向  2:横向
    private int width;
    private int height;
    private String imgUrl;
    private Integer errorCount;//当前图片加载失败次数

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrientation() {
        return orientation;
    }

    public void setOrientation(int orientation) {
        this.orientation = orientation;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(Integer errorCount) {
        this.errorCount = errorCount;
    }

    @Override
    public String toString() {
        return "Photo{" +
                "name='" + name + '\'' +
                ", orientation=" + orientation +
                ", width=" + width +
                ", height=" + height +
                ", imgUrl='" + imgUrl + '\'' +
                ", errorCount=" + errorCount +
                '}';
    }
}
